<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>登录</title>
		<style type="text/css">
			li:nth-child(5)>a {
				width: 70%;
				font-size: 32px;
				background-color: rgba(109, 76, 61, 0.8);
			}
		</style>
		<link rel="stylesheet" href="${pageContext.request.contextPath }/resources/css/login.css" />
		<script src="${pageContext.request.contextPath }/resources/js/jquery.min.js" type="text/javascript"charset="utf-8"></script>
		<script src="${pageContext.request.contextPath }/resources/js/login.js" type="text/javascript"charset="utf-8"></script>
	</head>
	<body>
		<%@ include file="ul.jsp"%>
		<div id="loginpro">
		<span>如果没有帐号，请先<a href="register.do">注册</a>！</span></div>
		<!-- 登录表单 -->
		<div class="box">
			<h2>登录</h2>
				<form id="login"  action="${pageContext.request.contextPath}/users/login.do" method="post">
					<!-- 提示登陆信息 -->

					<span style="color:red">${msg }<a href="#"> 找回密码？</a></span>
					<div class="inputBox">
					
						<input type="text" id="username" name="username" required="required" value="${user.username}">
						<label>账号</label>
					</div>
					<div class="inputBox">
						<input type="password" id="password" name="password" required="required">
						<label>密码</label>
					</div>
					<div align="center">
						<input type="submit" value="登录">
			
						<a href="login.jsp"><input type="reset" value="重置"></a>
					</div>
				</form>
		</div>
	</body>

</html>